package com.sinosun.autotestmachine.tools.parser;

/**
 * 步骤信息类
 * @author HYW
 *
 */
public class StepInformation {
	private String stepDecription;
	private int expectedResult;
	private String methodName;
	private String param;
	private String cacheParam;
	private boolean syncFlag;
	
	public StepInformation(String methodName) {
		stepDecription = new String();
		expectedResult = -1;
		this.methodName = methodName;
		param = new String();
		cacheParam = new String();
		syncFlag = true;
	}
	
	public StepInformation() {
		this(new String());
	}
	
	public boolean getSyncFlag() {
		return this.syncFlag;
	}
	
	public void setSyncFlag(boolean syncFlag) {
		this.syncFlag = syncFlag;
	}
	
	public void setCacheParam(String cacheParam) {
		this.cacheParam = cacheParam;
	}
	
	public String getCacheParam() {
		return this.cacheParam;
	}
	
	public void setStepDecription(String stepDecription) {
		this.stepDecription = stepDecription;
	}
	
	public String getStepDecription() {
		return this.stepDecription;
	}
	
	public void setExpectedResult(int expectedResult) {
		this.expectedResult = expectedResult;
	}
	
	public int getExpectedResult() {
		return this.expectedResult;
	}
	
	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}
	
	public String getMethodName() {
		return this.methodName;
	}
	
	public void setParam(String param) {
		this.param = param;
	}
	
	public String getParam() {
		return this.param;
	}
}
